package models;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import javax.persistence.OneToMany;

import play.data.validation.Required;
import play.db.jpa.Model;

@Entity
public class Intitule extends Model{

	@ManyToMany
	public List<Uv> uVs;

	@Required
	public String nom;

	public Intitule(String nom){
		this.nom=nom;
	}

	public String toString(){
		return this.nom;
	}
}
